package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.BoxEquityTypeEnum;
import com.sc.nft.sup.SuperEntity;

import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (sc_box_equity)实体类
 *
 * @author Tangzehui
 * @since 2023-11-09 16:01:19
 * @description
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_box_equity")
public class BoxEquity extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 盲盒id
     */
    private Long boxId;
    /**
     * 藏品id
     */
    private Long collectionId;

    /**
     * 盲盒藏品id
     */
    private Long boxItemId;

    /**
     * 权益道具/生态积分 id
     */
    private Long linkId;
    /**
     * 奖励类型
     * @see BoxEquityTypeEnum
     */
    private Integer linkType;
    /**
     * 奖励数量
     */
    private BigDecimal linkCount;
    /**
     * 奖励名称
     */
    private String linkName;



}